package com.atguigu.utils;

import lombok.Data;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
   把 配置文件加载进来
 */
@Data
@ConfigurationProperties(prefix = "minio")
public class MinioProperties {

     private String endpoint;
     private String accessKey;
     private String secretKey;
     private String bucketName;
}

